package com.autologistics.model;

import java.sql.Timestamp;

/**
 * Orderstate entity. @author MyEclipse Persistence Tools
 */

public class Orderstate implements java.io.Serializable {

	// Fields

	private Integer id;
	private Ordertable ordertable;
	private Integer numberId;
	private Integer state;
	private Timestamp time;

	// Constructors

	/** default constructor */
	public Orderstate() {
	}

	/** full constructor */
	public Orderstate(Ordertable ordertable, Integer numberId, Integer state,
			Timestamp time) {
		this.ordertable = ordertable;
		this.numberId = numberId;
		this.state = state;
		this.time = time;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Ordertable getOrdertable() {
		return this.ordertable;
	}

	public void setOrdertable(Ordertable ordertable) {
		this.ordertable = ordertable;
	}

	public Integer getNumberId() {
		return this.numberId;
	}

	public void setNumberId(Integer numberId) {
		this.numberId = numberId;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Timestamp getTime() {
		return this.time;
	}

	public void setTime(Timestamp time) {
		this.time = time;
	}

}